package com.ruoyi.hospital.domain.doctor;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 医生文章对象 doc_articles
 * 
 * @author wendao
 * @date 2024-08-16
 */
public class DocArticles extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 主图 */
    @Excel(name = "主图")
    private String contentImage;

    /** 内容 */
    private String artContent;

    /** 分类 */
    @Excel(name = "分类")
    private Integer artCategory;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Integer viewCount;

    @Excel(name = "点赞量")
    private Integer zanCount;

    /** 收藏量 */
    @Excel(name = "收藏量")
    private Integer favoriteCount;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortOrder;

    /** 是否推荐 */
    @Excel(name = "是否推荐")
    private Integer isRecommend;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer auditStatus;

    /** 发布者 */
    @Excel(name = "发布者")
    private String docName;
    private Integer docId;
    private String docAvatar;
    private String hisName;

    /** 删除时间 */
    private Integer deleteTime;

    public String getDocAvatar() {
        return docAvatar;
    }

    public void setDocAvatar(String docAvatar) {
        this.docAvatar = docAvatar;
    }

    public String getHisName() {
        return hisName;
    }

    public void setHisName(String hisName) {
        this.hisName = hisName;
    }

    public Integer getZanCount() {
        return zanCount;
    }

    public void setZanCount(Integer zanCount) {
        this.zanCount = zanCount;
    }

    public String getDocName() {
        return docName;
    }

    public void setDocName(String docName) {
        this.docName = docName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setContentImage(String contentImage) 
    {
        this.contentImage = contentImage;
    }

    public String getContentImage() 
    {
        return contentImage;
    }
    public void setArtContent(String artContent) 
    {
        this.artContent = artContent;
    }

    public String getArtContent() 
    {
        return artContent;
    }
    public void setArtCategory(Integer artCategory) 
    {
        this.artCategory = artCategory;
    }

    public Integer getArtCategory() 
    {
        return artCategory;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setViewCount(Integer viewCount) 
    {
        this.viewCount = viewCount;
    }

    public Integer getViewCount() 
    {
        return viewCount;
    }
    public void setFavoriteCount(Integer favoriteCount) 
    {
        this.favoriteCount = favoriteCount;
    }

    public Integer getFavoriteCount() 
    {
        return favoriteCount;
    }
    public void setSortOrder(Integer sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Integer getSortOrder() 
    {
        return sortOrder;
    }
    public void setIsRecommend(Integer isRecommend) 
    {
        this.isRecommend = isRecommend;
    }

    public Integer getIsRecommend() 
    {
        return isRecommend;
    }
    public void setAuditStatus(Integer auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public Integer getAuditStatus() 
    {
        return auditStatus;
    }
    public void setDocId(Integer docId) 
    {
        this.docId = docId;
    }

    public Integer getDocId() 
    {
        return docId;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contentImage", getContentImage())
            .append("artContent", getArtContent())
            .append("artCategory", getArtCategory())
            .append("title", getTitle())
            .append("viewCount", getViewCount())
            .append("favoriteCount", getFavoriteCount())
            .append("sortOrder", getSortOrder())
            .append("isRecommend", getIsRecommend())
            .append("auditStatus", getAuditStatus())
            .append("docId", getDocId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
